from textblob import TextBlob

# 示例文本
text = "I love this product!"
blob = TextBlob(text)

# 情感分析
print("Sentiment:", blob.sentiment.polarity)